package com.haoze.nurseapp.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "drug_collection")
public class DrugCollectionEntity {

    @Id
    @Column(name = "COLLECTION_ID")
    private String collectionId;

    @Column(name = "NURSE_ID")
    private String nurseId;//护士用户id

    @Column(name = "NURSE_NAME")
    private String nurseName;//护士名字

    @Column(name = "PHAM_NAME")
    private String phamName;//药物名称

    @Column(name = "ACCEPTED_COUNT")
    private Integer acceptedCount;//已收数量

    @Column(name = "DEFECT_COUNT")
    private Integer defectCount;//拒收数量

    @Column(name = "RECEIVABLE_COUNT")
    private Integer receivableCount;//应收数量

    @Column(name = "PHAM_SPEC")
    private String phamSpec;//规格

    @Column(name = "PHAM_STD_CODE")
    private String phamStdCode;//药物编码

    @Column(name = "PHAM_UNITS")
    private String phamUnits;//药物单位

    @Column(name = "DEFECT_REASON")
    private String defectReason;//拒收原因

    @Column(name = "DOC_NO")
    private String docNo;//单据号

    @Column(name = "PHAM_IO_DATE")
    private Date phamIoDate;//单据时间

    @Column(name = "GMT_CREATE")
    private Date gmtCreate;//创建时间

    @Column(name = "GMT_MODIFY")
    private Date gmtModify;//修改时间

    @Column(name = "DATA_VERSION")
    private Integer dataVersion;//数据版本

    @Column(name = "HOSPITAL_ID")
    private String hospitalId;//医院id

    @Column(name = "DEFECT_REASON_ID")
    private String defectReasonId;//退药原因id

    public String getDefectReasonId() {
        return defectReasonId;
    }

    public void setDefectReasonId(String defectReasonId) {
        this.defectReasonId = defectReasonId;
    }

    public String getCollectionId() {
        return collectionId;
    }

    public void setCollectionId(String collectionId) {
        this.collectionId = collectionId;
    }

    public String getNurseId() {
        return nurseId;
    }

    public void setNurseId(String nurseId) {
        this.nurseId = nurseId;
    }

    public String getNurseName() {
        return nurseName;
    }

    public void setNurseName(String nurseName) {
        this.nurseName = nurseName;
    }

    public String getPhamName() {
        return phamName;
    }

    public void setPhamName(String phamName) {
        this.phamName = phamName;
    }

    public Integer getAcceptedCount() {
        return acceptedCount;
    }

    public void setAcceptedCount(Integer acceptedCount) {
        this.acceptedCount = acceptedCount;
    }

    public Integer getDefectCount() {
        return defectCount;
    }

    public void setDefectCount(Integer defectCount) {
        this.defectCount = defectCount;
    }

    public Integer getReceivableCount() {
        return receivableCount;
    }

    public void setReceivableCount(Integer receivableCount) {
        this.receivableCount = receivableCount;
    }

    public String getPhamSpec() {
        return phamSpec;
    }

    public void setPhamSpec(String phamSpec) {
        this.phamSpec = phamSpec;
    }

    public String getPhamStdCode() {
        return phamStdCode;
    }

    public void setPhamStdCode(String phamStdCode) {
        this.phamStdCode = phamStdCode;
    }

    public String getPhamUnits() {
        return phamUnits;
    }

    public void setPhamUnits(String phamUnits) {
        this.phamUnits = phamUnits;
    }

    public String getDefectReason() {
        return defectReason;
    }

    public void setDefectReason(String defectReason) {
        this.defectReason = defectReason;
    }

    public String getDocNo() {
        return docNo;
    }

    public void setDocNo(String docNo) {
        this.docNo = docNo;
    }

    public Date getPhamIoDate() {
        return phamIoDate;
    }

    public void setPhamIoDate(Date phamIoDate) {
        this.phamIoDate = phamIoDate;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModify() {
        return gmtModify;
    }

    public void setGmtModify(Date gmtModify) {
        this.gmtModify = gmtModify;
    }

    public Integer getDataVersion() {
        return dataVersion;
    }

    public void setDataVersion(Integer dataVersion) {
        this.dataVersion = dataVersion;
    }

    public String getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(String hospitalId) {
        this.hospitalId = hospitalId;
    }
}
